package net.lahuobao.mall.dao.admin;

import net.lahuobao.mall.entity.admin.MallTransProjectEmployee;

import java.util.List;
import java.util.Map;

public interface MallTransProjectEmployeeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MallTransProjectEmployee record);

    MallTransProjectEmployee selectByPrimaryKey(Integer id);

    List<MallTransProjectEmployee> selectAll();

    int updateByPrimaryKey(MallTransProjectEmployee record);

    int totalAccountNoByProjectId(Map map);

    String selectAccountIdByAccountNo(Map map);

    int updateIsAdmin(Map map);

    List<MallTransProjectEmployee> selectByAccountNo(Map map);

    int selectMallShopCardRuleCount();

    List<MallTransProjectEmployee> selectAssociatedPerson(Map map);

    int count();

    List<MallTransProjectEmployee> getAccountEmployees(String accountId);
    List<MallTransProjectEmployee> getAccountAdminEmployees(String accountId);
}